package com.tianlan.blog.service;

import java.util.List;

import com.tianlan.blog.entity.SysDict;

public interface SysDictService {
	
	/**
	 * 添加字典
	 * @param sysDict
	 * @return boolean
	 */
	boolean saveDict(SysDict sysDict);
	
	/**
	 * 修改字典
	 * @param sysDict
	 * @return boolean
	 */
	boolean updateDict(SysDict sysDict);
	
	boolean deleteDict(Integer dictId);
	
	List<SysDict> queryDictTreeByPanentId(Integer parentId);
	
}
